package me.yiyou.meihua.ui.page.itemsnumber

import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel

class ItemNumberViewModel : ViewModel() {
    // 占问事
    private val _inputContent = mutableStateOf("")
    val inputContent: State<String> = _inputContent

    // 前置页面显示控制变量
    private val _showDescribe = mutableStateOf(true)
    val showDescribe: State<Boolean> = _showDescribe

    /**
     * 初始化方法
     */
    fun start() {
        _showDescribe.value = false
    }

    /**
     * 输入内容改变监听
     */
    fun inputChangeValue(content: String){
        _inputContent.value = content
    }
}